import sys
import time


print(f"-------------- 参数个数: {len(sys.argv)} --------------")
for i in range(len(sys.argv)):
    print(f'参数[{i}]: {sys.argv[i]}')
print('cur dir:', os.getcwd())

print('processing...')
n = 10
for i in range(n):
    time.sleep(0.5)
    print(f'{i+1}/{n}')

time.sleep(2.5)
print('done.')